package com.lhz.project.system.service.base;


import com.lhz.project.system.model.entity.base.LoginLog;
import com.lhz.project.system.model.entity.auth.OperateLog;
import com.lhz.project.system.model.param.auth.LoginLogParam;
import com.lhz.project.system.model.param.auth.OperateLogParam;
import com.lhz.project.system.model.vo.auth.OperateLogInfoVo;

/**
 * @author LiHuaZhi
 * @since 2020-06-23 17:02:26
 */
public interface LogService {

    OperateLogInfoVo selectByPrimaryKey(String id);

    Object listOperateLog(OperateLogParam param);

    Object listLoginLog(LoginLogParam param);

    /**
     * 系统日志
     *
     * @param log
     */
    void insertOperateLog(OperateLog log);

    /**
     * 登录日志
     *
     * @param log
     */
    void insertLoginLog(LoginLog log);
}